package com.niodata.dp.core.usermgr.model;

import com.niodata.dp.core.usermgr.enums.GroupRole;
import java.io.Serializable;
import java.sql.Timestamp;

public class UserGroup implements Serializable {

  private Long userId;
  private Long groupId;
  private GroupRole role;
  private Timestamp createTime;

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public Long getGroupId() {
    return groupId;
  }

  public void setGroupId(Long groupId) {
    this.groupId = groupId;
  }

  public GroupRole getRole() {
    return role;
  }

  public void setRole(GroupRole role) {
    this.role = role;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

}
